package com.lg.distributed.transaction.service;

import com.lg.distributed.transaction.domain.MqMessage;

import java.util.List;

/**
 * @author by Mr. Li 2020/12/11 10:25
 */
public interface MqMessageService {
    /**
     * 保存
     *
     * @param mqMessage
     */
    void save(MqMessage mqMessage);

    void saveOrUpdate(MqMessage mqMessage);

    void send();

    List<MqMessage> selectByMessageStatusNo1();

    void sendMq();
}
